import request from "./request";

// 友链

export const getLinks = (params = {}) => request.get("/link/list", { params });

export const deleteLinks = (data = []) => request.delete("/link", { data });

export const saveOrUpdateLink = (data) => request.post("/link", data);
